﻿using CustomModel;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDeskService
{
    public interface IShopService
    {
        List<province> GetProvince(out string error);
        List<city> GetCityByProvinceId(int id, out string error);

        List<area> GetAreaByCityId(int id, out string error);

        bool  RegistShop(RegistShopModel shop, out string error);
        /// <summary>
        /// 根据用户名获得当前账号下的所有商铺
        /// </summary>
        /// <param name="userid">用户主键</param>
        /// <returns>返回商铺列表实体，如果没有返回空</returns>
        List<shopinfo> GetShopsInfo(int userid, ShopStatusEnum shopStatus, out string error);




    }
}
